package com.weitu.occupationalHealth.phyData.service.impl;

import com.weitu.occupationalHealth.phyData.entity.ReviewInfo;
import com.weitu.occupationalHealth.phyData.mapper.ReviewInfoMapper;
import com.weitu.occupationalHealth.phyData.service.ReviewInfoService;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ReviewInfoServiceImpl implements ReviewInfoService {
    @Autowired
    private ReviewInfoMapper reviewInfoMapper;


    @Override
    public ReviewInfo selectById(String id) {
        return this.reviewInfoMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.reviewInfoMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(ReviewInfo record) {
        return this.reviewInfoMapper.updateByIdSelective(record);
    }

    @Override
    public int updateById(ReviewInfo record) {
        return this.reviewInfoMapper.updateById(record);
    }

    @Override
    public int insert(Map record) {
        return this.reviewInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(ReviewInfo record) {
        return this.reviewInfoMapper.insertSelective(record);
    }
}